part of 'page.dart';

class _SingleLexicalItemPageWlocStateFactory {
  const _SingleLexicalItemPageWlocStateFactory._internal();

  static const _instance = _SingleLexicalItemPageWlocStateFactory._internal();

  factory _SingleLexicalItemPageWlocStateFactory() {
    return _instance;
  }

  _SingleLexicalItemPageWlocState create({
    required bloc.SingleLexicalItemPageBlocState blocState,
  }) {
    return _SingleLexicalItemPageWlocState(
      lexicalItem: blocState.lexicalItem,
      imagePath: blocState.imagePath,
      dialect: blocState.dialect,
      safeToPronounce: blocState.safeToPronounce,
      cardActions: blocState.cardActions,
    );
  }
}
